package com.learn.spring.service;

import com.learn.spring.dao.IUserDao;

public class UserService {

    private IUserDao userDao;

    public UserService(IUserDao userDao) {
        this.userDao = userDao;
    }

    public void add() {
        System.out.println("启动了用户添加服务。。。。");
        userDao.add();
    }

}
